//
//  myNewsBoard.m
//  iHeima
//
//  Created by 熊琳娅 on 14-6-26.
//  Copyright (c) 2014年 leon. All rights reserved.
//

#import "myNewsBoard.h"

@interface myNewsBoard ()

@end

@implementation myNewsBoard

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

ON_CREATE_VIEWS( signal )
{
    self.title=[NSString stringWithFormat:@"创业资讯"];
    [self showNaviBar];
    
    [self showBarButton:BeeUINavigationBar.LEFT image:IMAGESTRING(@"navi_back")];
    
    
    // 链接一个网址 创业资讯的内容
    BeeUIWebView* myWebView =[BeeUIWebView spawn];

    myWebView.url=[NSString stringWithFormat:@"http://news.iheima.com"];
    myWebView.frame=CGRectMake(0, 0, self.viewWidth, self.viewHeight-(IOS7_OR_LATER?64:44));
    [self.view addSubview:myWebView];
    
    
    
}

ON_WILL_APPEAR( signal )
{
    [self.navigationController setNavigationBarHidden:NO animated:YES];
}




@end
